package com.qr.bean.wmyh;

import java.sql.Date;
import java.math.BigDecimal;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 13:02:39
 * 分离出查询实体
 */
@ApiModel(value = "jbr_user_commission", description = "用户佣金汇总表")
@TableName(value = "jbr_user_commission")
public class JbrUserCommissionView implements Serializable {
	@ApiModelProperty(value = "id")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "id不能为空")
	private Integer id;
	@ApiModelProperty(value = "用户id")
	@TableField(value="user_id")
	@NotNull(message = "用户id不能为空")
	private Integer user_id;
	@ApiModelProperty(value = "类型 1日 2月")
	@TableField(value="type")
	private Long type;
	@ApiModelProperty(value = "日期")
	@TableField(value="date")
	@NotNull(message = "日期不能为空")
	private Date date;
	@ApiModelProperty(value = "收入")
	@TableField(value="income")
	private BigDecimal income;
	@ApiModelProperty(value = "支出")
	@TableField(value="expenditure")
	private BigDecimal expenditure;
	@ApiModelProperty(value = "收入笔数")
	@TableField(value="income_count")
	private Integer income_count;
	@ApiModelProperty(value = "支出笔数")
	@TableField(value="expenditure_count")
	private Integer expenditure_count;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
 
	public Long getType() {
		return type;
	}
	public void setType(Long type) {
		this.type = type;
	}
 
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
 
	public BigDecimal getIncome() {
		return income;
	}
	public void setIncome(BigDecimal income) {
		this.income = income;
	}
 
	public BigDecimal getExpenditure() {
		return expenditure;
	}
	public void setExpenditure(BigDecimal expenditure) {
		this.expenditure = expenditure;
	}
 
	public Integer getIncome_count() {
		return income_count;
	}
	public void setIncome_count(Integer income_count) {
		this.income_count = income_count;
	}
 
	public Integer getExpenditure_count() {
		return expenditure_count;
	}
	public void setExpenditure_count(Integer expenditure_count) {
		this.expenditure_count = expenditure_count;
	}

}